package com.ttj.domain.oracle.gen;

import java.io.Serializable;
import java.util.Date;

public class SuperCarActive implements Serializable {
    private Integer id;

    /**
     * 订单ID
     */
    private Integer orderId;

    /**
     * 员工id
     */
    private Integer workerId;

    /**
     * 司机
     */
    private Integer driverId;

    /**
     * 车辆类型（1-厢式货车，2-金杯车，3-小面包车，4-轿车）
     */
    private Integer carType;

    private Integer carId;

    /**
     * 车牌号
     */
    private String plate;

    /**
     * 起始地点
     */
    private String startAddr;

    /**
     * 目的地
     */
    private String endAddr;

    /**
     * 发车日期
     */
    private Date activeTime;

    private Date indate;

    /**
     * 接洽人
     */
    private String name;

    /**
     * 登录用户名
     */
    private String username;

    /**
     * 用车类型（0-拉货；1-送货；2-公务）
     */
    private Integer activeType;

    /**
     * 运行状态（0-未处理；1-通过；2-已接货;3-拒绝）
     */
    private Integer activeStatus;

    /**
     * 备注信息
     */
    private String otherinfo;

    /**
     * 接洽人电话
     */
    private String phone;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 订单ID
     */
    public Integer getOrderId() {
        return orderId;
    }

    /**
     * 订单ID
     */
    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    /**
     * 员工id
     */
    public Integer getWorkerId() {
        return workerId;
    }

    /**
     * 员工id
     */
    public void setWorkerId(Integer workerId) {
        this.workerId = workerId;
    }

    /**
     * 司机
     */
    public Integer getDriverId() {
        return driverId;
    }

    /**
     * 司机
     */
    public void setDriverId(Integer driverId) {
        this.driverId = driverId;
    }

    /**
     * 车辆类型（1-厢式货车，2-金杯车，3-小面包车，4-轿车）
     */
    public Integer getCarType() {
        return carType;
    }

    /**
     * 车辆类型（1-厢式货车，2-金杯车，3-小面包车，4-轿车）
     */
    public void setCarType(Integer carType) {
        this.carType = carType;
    }

    public Integer getCarId() {
        return carId;
    }

    public void setCarId(Integer carId) {
        this.carId = carId;
    }

    /**
     * 车牌号
     */
    public String getPlate() {
        return plate;
    }

    /**
     * 车牌号
     */
    public void setPlate(String plate) {
        this.plate = plate;
    }

    /**
     * 起始地点
     */
    public String getStartAddr() {
        return startAddr;
    }

    /**
     * 起始地点
     */
    public void setStartAddr(String startAddr) {
        this.startAddr = startAddr;
    }

    /**
     * 目的地
     */
    public String getEndAddr() {
        return endAddr;
    }

    /**
     * 目的地
     */
    public void setEndAddr(String endAddr) {
        this.endAddr = endAddr;
    }

    /**
     * 发车日期
     */
    public Date getActiveTime() {
        return activeTime;
    }

    /**
     * 发车日期
     */
    public void setActiveTime(Date activeTime) {
        this.activeTime = activeTime;
    }

    public Date getIndate() {
        return indate;
    }

    public void setIndate(Date indate) {
        this.indate = indate;
    }

    /**
     * 接洽人
     */
    public String getName() {
        return name;
    }

    /**
     * 接洽人
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 登录用户名
     */
    public String getUsername() {
        return username;
    }

    /**
     * 登录用户名
     */
    public void setUsername(String username) {
        this.username = username;
    }

    /**
     * 用车类型（0-拉货；1-送货；2-公务）
     */
    public Integer getActiveType() {
        return activeType;
    }

    /**
     * 用车类型（0-拉货；1-送货；2-公务）
     */
    public void setActiveType(Integer activeType) {
        this.activeType = activeType;
    }

    /**
     * 运行状态（0-未处理；1-通过；2-已接货;3-拒绝）
     */
    public Integer getActiveStatus() {
        return activeStatus;
    }

    /**
     * 运行状态（0-未处理；1-通过；2-已接货;3-拒绝）
     */
    public void setActiveStatus(Integer activeStatus) {
        this.activeStatus = activeStatus;
    }

    /**
     * 备注信息
     */
    public String getOtherinfo() {
        return otherinfo;
    }

    /**
     * 备注信息
     */
    public void setOtherinfo(String otherinfo) {
        this.otherinfo = otherinfo;
    }

    /**
     * 接洽人电话
     */
    public String getPhone() {
        return phone;
    }

    /**
     * 接洽人电话
     */
    public void setPhone(String phone) {
        this.phone = phone;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", orderId=").append(orderId);
        sb.append(", workerId=").append(workerId);
        sb.append(", driverId=").append(driverId);
        sb.append(", carType=").append(carType);
        sb.append(", carId=").append(carId);
        sb.append(", plate=").append(plate);
        sb.append(", startAddr=").append(startAddr);
        sb.append(", endAddr=").append(endAddr);
        sb.append(", activeTime=").append(activeTime);
        sb.append(", indate=").append(indate);
        sb.append(", name=").append(name);
        sb.append(", username=").append(username);
        sb.append(", activeType=").append(activeType);
        sb.append(", activeStatus=").append(activeStatus);
        sb.append(", otherinfo=").append(otherinfo);
        sb.append(", phone=").append(phone);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        SuperCarActive other = (SuperCarActive) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getOrderId() == null ? other.getOrderId() == null : this.getOrderId().equals(other.getOrderId()))
            && (this.getWorkerId() == null ? other.getWorkerId() == null : this.getWorkerId().equals(other.getWorkerId()))
            && (this.getDriverId() == null ? other.getDriverId() == null : this.getDriverId().equals(other.getDriverId()))
            && (this.getCarType() == null ? other.getCarType() == null : this.getCarType().equals(other.getCarType()))
            && (this.getCarId() == null ? other.getCarId() == null : this.getCarId().equals(other.getCarId()))
            && (this.getPlate() == null ? other.getPlate() == null : this.getPlate().equals(other.getPlate()))
            && (this.getStartAddr() == null ? other.getStartAddr() == null : this.getStartAddr().equals(other.getStartAddr()))
            && (this.getEndAddr() == null ? other.getEndAddr() == null : this.getEndAddr().equals(other.getEndAddr()))
            && (this.getActiveTime() == null ? other.getActiveTime() == null : this.getActiveTime().equals(other.getActiveTime()))
            && (this.getIndate() == null ? other.getIndate() == null : this.getIndate().equals(other.getIndate()))
            && (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
            && (this.getUsername() == null ? other.getUsername() == null : this.getUsername().equals(other.getUsername()))
            && (this.getActiveType() == null ? other.getActiveType() == null : this.getActiveType().equals(other.getActiveType()))
            && (this.getActiveStatus() == null ? other.getActiveStatus() == null : this.getActiveStatus().equals(other.getActiveStatus()))
            && (this.getOtherinfo() == null ? other.getOtherinfo() == null : this.getOtherinfo().equals(other.getOtherinfo()))
            && (this.getPhone() == null ? other.getPhone() == null : this.getPhone().equals(other.getPhone()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getOrderId() == null) ? 0 : getOrderId().hashCode());
        result = prime * result + ((getWorkerId() == null) ? 0 : getWorkerId().hashCode());
        result = prime * result + ((getDriverId() == null) ? 0 : getDriverId().hashCode());
        result = prime * result + ((getCarType() == null) ? 0 : getCarType().hashCode());
        result = prime * result + ((getCarId() == null) ? 0 : getCarId().hashCode());
        result = prime * result + ((getPlate() == null) ? 0 : getPlate().hashCode());
        result = prime * result + ((getStartAddr() == null) ? 0 : getStartAddr().hashCode());
        result = prime * result + ((getEndAddr() == null) ? 0 : getEndAddr().hashCode());
        result = prime * result + ((getActiveTime() == null) ? 0 : getActiveTime().hashCode());
        result = prime * result + ((getIndate() == null) ? 0 : getIndate().hashCode());
        result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
        result = prime * result + ((getUsername() == null) ? 0 : getUsername().hashCode());
        result = prime * result + ((getActiveType() == null) ? 0 : getActiveType().hashCode());
        result = prime * result + ((getActiveStatus() == null) ? 0 : getActiveStatus().hashCode());
        result = prime * result + ((getOtherinfo() == null) ? 0 : getOtherinfo().hashCode());
        result = prime * result + ((getPhone() == null) ? 0 : getPhone().hashCode());
        return result;
    }
}